package com.jdkreader.annotation.db;


import com.jdkreader.annotation.db.Constraints;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SQLString {

    int value() default 0;

    String name() default "";

    /**
     * Constraints的默认值就是@Constraints的默认值
     * @return
     */
    Constraints constraints() default @Constraints;


}
